package cn.genmer.test.security.designpatterns.decorator.mydrink;

import cn.genmer.test.security.designpatterns.decorator.Drink;

public class MilkGreen extends Drink {

    public MilkGreen (){
        setName("奶绿");
        setPrice(12.9f);  // 奶绿单价
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
